def w1(func):
  def inner():
    func()
    print('---check---')
  return inner

@w1
def f1():
  print('f1')

f1()